package NLP;

import entity.Word;

import java.util.List;

public interface GrammarCheck {
    /**
     * @return boolean
     * @Author ChenforCode
     * @Description //TODO 检查诗是否押韵
     * @Date 22:41 2018/12/28
     * @Param [poem]
     **/
    public boolean checkRhythm(List<Word> poem);

    /**
     * @return boolean
     * @Author ChenforCode
     * @Description //TODO 检查诗是否符合语法
     * @Date 22:41 2018/12/28
     * @Param [poem]
     **/
    public boolean checkGrammar(List<Word> poem);

    /**
     * @return boolean
     * @Author ChenforCode
     * @Description //TODO 检查诗是否满足平仄
     * @Date 22:42 2018/12/28
     * @Param [peom]
     **/
    public boolean checkLevelAndOblique(List<Word> peom);
}
